home *** CD-ROM | disk | FTP | other *** search
/ Java Developer's Companion / Java Developer's Companion.iso / binaries / Windows / JavaIDL-EA-win32.EXE / JavaIDL / examples / hello / README < prev   
Encoding:
Text File  |  1997-04-15  |  1019 b   |  37 lines

  1. Make sure JavaIDL is installed (see README file) before trying out 
  2. this sample program.
  3.  
  4. Steps to build the hello program
  5. --------------------------------
  6.  
  7. In the following, JAVA_HOME and JAVAIDL_HOME are the paths to the
  8. JDK (1.0.2 or later) and JavaIDL installations, respectively.
  9.  
  10. o Make sure ${JAVA_HOME}/bin and ${JAVAIDL_HOME}/bin are in your path.
  11.  
  12. o Run the IDL compiler to generate stubs and skeletons
  13.  
  14.   idltojava -fclient -fserver hello.idl
  15.  
  16. o Compile all the Java Files
  17.  
  18.   javac -classpath ${JAVA_HOME}/lib/classes.zip:${JAVAIDL_HOME}/lib/classes.zip:. *.java HelloApp/*.java
  19.  
  20.  
  21. Steps to run the hello program
  22. ------------------------------
  23. o Start the name server
  24.   
  25.   cd ${JAVAIDL_HOME}/bin
  26.   nameserv -ORBInitialPort 1050
  27.  
  28. o Run the Hello Server
  29.  
  30.   java -classpath ${JAVA_HOME}/lib/classes.zip:${JAVAIDL_HOME}/lib/classes.zip:. helloServer -ORBInitialPort 1050
  31.  
  32. o Run the Hello Client 
  33.  
  34.   java -classpath ${JAVA_HOME}/lib/classes.zip:${JAVAIDL_HOME}/lib/classes.zip:. helloClient -ORBInitialPort 1050
  35.  
  36.  
  37.